<%--
  Created by IntelliJ IDEA.
  User: aslx
  Date: 2021/8/17
  Time: 22:42
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Title</title>
</head>
<body>

<form action="/work" name="post">
<table border="1px" bordercolor="black" cellspacing="0" cellpadding="0">

    <tr>
        <td>序号</td>
        <td>名字</td>
        <td>密码</td>
        <td>操作</td>
    </tr>
    <c:forEach items="list" var="v" varStatus="status">
    <tr>
        <td>${v.id}</td>
        <td>${v.name}</td>
        <td>${v.password}</td>
        <td>
            <a href="/add.jsp">添加</a>
            <a href="/">修改</a>
            <a href="/delete.jsp">删除</a>
        </td>
    </tr>
    </c:forEach>
</table>
</form>
</body>
</html>
